package org.java.api.utils;

import io.swagger.annotations.Api;

/**
 * @author WHQ
 * @version 1.0
 * @date 2022-3-11 0011 下午 2:55
 */
@Api(tags = "随机生成验证码的工具类")
public class RandomCode {

    public static final String INFORMATION="您此次的验证码为:";

    public static String getCode(){
        Integer code=(int)((Math.random()*9+1)*100000);
        return code.toString();
    }

}
